<div class="dialog">
    <table>
        <tbody>
        
            
            <tr class="prop">
                <td valign="top" class="name"><g:message code="inventory.product" default="Product" />:</td>
                <td valign="top" class="value">
                    <g:link controller="product" action="show" id="${inventoryInstance?.product?.id}">${inventoryInstance?.product?.encodeAsHTML()}</g:link>
                </td>

                <td valign="top" class="name"><g:message code="inventory.quantity" default="Quantity" />:</td>
                <td valign="top" class="value"><g:formatNumber number="${inventoryInstance?.quantity}" format="###,##0.00" /></td>
            
                <td valign="top" class="name"><g:message code="inventory.unit" default="Unit" />:</td>
                <td valign="top" class="value">${fieldValue(bean: inventoryInstance, field: "unit")}</td>
            </tr>
            
            <tr class="prop">
                <td valign="top" class="name"><g:message code="inventory.amount" default="Amount" />:</td>
                <td valign="top" class="value"><g:formatNumber number="${inventoryInstance?.amount}" format="###,##0.00" /></td>
            
                <td valign="top" class="name"><g:message code="inventory.dateCreated" default="Date Created" />:</td>
                <td valign="top" class="value"><g:formatDate date="${inventoryInstance?.dateCreated}" format="yyyy-MM-dd HH:mm:ss" /></td>
            
                <td valign="top" class="name"><g:message code="inventory.lastUpdated" default="Last Updated" />:</td>
                <td valign="top" class="value"><g:formatDate date="${inventoryInstance?.lastUpdated}" format="yyyy-MM-dd HH:mm:ss"/></td>
            </tr>
            
        </tbody>
    </table>
</div>
